package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author：wsm
 * @Date：2022/02/19/14:01
 * @Description Todo:
 */
@TableName("ap_user_follow")
@Data
public class ApUserFollow implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户ID
    @TableField(value = "user_id")
    private int userId;
     //关注作者ID
    @TableField(value = "follow_id")
    private int  followId;
    //粉丝昵称
    @TableField(value = "follow_name")
    private String  followName;

    //关注度
    //            0 偶尔感兴趣
    //            1 一般
    //            2 经常
    //            3 高度
    @TableField(value = "level")
    private int  level;
    //是否动态通知
    @TableField(value = "is_notice")
    private int  notice;

    @TableField(value = "created_time")
    private Date createdTime;



}
